package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.AccountDelBanksTask.AccountDelBanksRequest;
import com.smiier.skin.net.AccountDelBanksTask.AccountDelBanksResponse;
import com.smiier.skin.net.entity.Bank;
import com.smiier.skin.util.GlobalSettings;

/**
 * 删除银行
 * 
 * @author 杨文华
 * 
 */
public class AccountDelBanksTask extends
		NetTask<AccountDelBanksRequest, AccountDelBanksResponse> {

	public class AccountDelBanksRequest extends ORequest {
		public ArrayList<Long> abids;
		public String token;
		public String appname = Constant.APP_NAME;
	}

	public class AccountDelBanksResponse extends OResponse {
		public ArrayList<Bank> Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Account.DelBanks";
		mRequestMethod = METHOD_GET;
	}

}
